﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

using UnityEngine.EventSystems;
public class MouseEvent : MonoBehaviour,IPointerClickHandler,IPointerEnterHandler,IPointerExitHandler{
    public void OnPointerClick(PointerEventData eventData)
    {
        Debug.Log(this.name+"mclick");
    }

    public void OnPointerEnter(PointerEventData eventData)
    {
        Debug.Log(this.name + "menter");
    }

    public void OnPointerExit(PointerEventData eventData)
    {
        Debug.Log(this.name + "mexit");
    }

    // Use this for initialization
    void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
